package com.ethank.entity.oaBill;

import java.math.BigDecimal;

/**
 * @author Administrator
 * 发票台账明细表
 */
public class FnainvoiceledgerDetail {
    // 数量（int）不使用
    private String unitnumber;

    // 单价
    private BigDecimal unitprice;

    // 主键
    private String id;

    // 主表id（发票台账表id）
    private String mainid;

    // 货物或应税劳务、服务名称
    private String invoiceserviceyype;

    // 金额
    private BigDecimal pricewithouttax;

    // 税率
    private BigDecimal taxrate;

    // 税额
    private BigDecimal tax;

    // 原始单价
    private String originalUnitPrice;

    // 数量（varchar）使用
    private String unitnumber2;

    public FnainvoiceledgerDetail() {
    }

    public FnainvoiceledgerDetail(String unitnumber, BigDecimal unitprice, String id, String mainid, String invoiceserviceyype, BigDecimal pricewithouttax, BigDecimal taxrate, BigDecimal tax, String originalUnitPrice, String unitnumber2) {
        this.unitnumber = unitnumber;
        this.unitprice = unitprice;
        this.id = id;
        this.mainid = mainid;
        this.invoiceserviceyype = invoiceserviceyype;
        this.pricewithouttax = pricewithouttax;
        this.taxrate = taxrate;
        this.tax = tax;
        this.originalUnitPrice = originalUnitPrice;
        this.unitnumber2 = unitnumber2;
    }

    public String getUnitnumber() {
        return unitnumber;
    }

    public void setUnitnumber(String unitnumber) {
        this.unitnumber = unitnumber;
    }

    public BigDecimal getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(BigDecimal unitprice) {
        this.unitprice = unitprice;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMainid() {
        return mainid;
    }

    public void setMainid(String mainid) {
        this.mainid = mainid;
    }

    public String getInvoiceserviceyype() {
        return invoiceserviceyype;
    }

    public void setInvoiceserviceyype(String invoiceserviceyype) {
        this.invoiceserviceyype = invoiceserviceyype;
    }

    public BigDecimal getPricewithouttax() {
        return pricewithouttax;
    }

    public void setPricewithouttax(BigDecimal pricewithouttax) {
        this.pricewithouttax = pricewithouttax;
    }

    public BigDecimal getTaxrate() {
        return taxrate;
    }

    public void setTaxrate(BigDecimal taxrate) {
        this.taxrate = taxrate;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public String getOriginalUnitPrice() {
        return originalUnitPrice;
    }

    public void setOriginalUnitPrice(String originalUnitPrice) {
        this.originalUnitPrice = originalUnitPrice;
    }

    public String getUnitnumber2() {
        return unitnumber2;
    }

    public void setUnitnumber2(String unitnumber2) {
        this.unitnumber2 = unitnumber2;
    }
}
